package io.gitee.zhangbinhub.admin.resource.server.vo

import io.swagger.v3.oas.annotations.media.Schema

/**
 * @since JDK 11
 */
@Schema(description = "角色详细信息")
data class RoleVo(
    @field:Schema(description = "角色ID")
    var id: String? = null,
    @field:Schema(description = "应用ID")
    var appId: String? = null,
    @field:Schema(description = "角色名称")
    var name: String? = null,
    @field:Schema(description = "角色编码")
    var code: String? = null,
    @field:Schema(description = "角色级别")
    var levels: Int = 1,
    @field:Schema(description = "序号")
    var sort: Int = 0,
    @field:Schema(description = "类型")
    var type: Int? = null,
    @field:Schema(description = "关联用户ID")
    var userIds: MutableList<String> = mutableListOf(),
    @field:Schema(description = "关联菜单ID")
    var menuIds: MutableList<String> = mutableListOf(),
    @field:Schema(description = "关联模块功能ID")
    var moduleFuncIds: MutableList<String> = mutableListOf()
)
